package com.aaa.car;

import com.aaa.common.CommonApplication;
import org.mybatis.spring.annotation.MapperScan;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.cloud.netflix.eureka.EnableEurekaClient;
import org.springframework.transaction.annotation.EnableTransactionManagement;
import springfox.documentation.swagger2.annotations.EnableSwagger2;

/**
 * @Author: YuXin
 * @Date : Created in 2020/11/9 18:54
 * @ClassName : CarApplication
 * @Description :
 * @Package_Name : com.aaa.car
 */
@SpringBootApplication
@MapperScan("com.aaa.car.mapper")
@EnableEurekaClient
@EnableTransactionManagement
@EnableSwagger2
public class CarApplication {
    public static void main(String[] args) {
        SpringApplication.run(CarApplication.class, args);
    }
}
